<template>
    <div>
        
        <!-- tabbar底部 标签栏 -->
        <van-tabbar v-model="active" active-color="red" v-show="this.$route.meta.isShowTabbar">
            <van-tabbar-item icon="home-o" to="/">首页</van-tabbar-item>
            <van-tabbar-item icon="apps-o" to="/Classify">分类</van-tabbar-item>
            <van-tabbar-item icon="shopping-cart-o" to="/Cart" :badge="$store.getters.Count" >购物车</van-tabbar-item>
            <van-tabbar-item icon="user-o" to="/Person">个人</van-tabbar-item>
        </van-tabbar>
        
    </div>
</template>

<script>
export default {
    data() {
        return {
            active:0,
        }
    },
}
</script>

<style lang="scss">
    
</style>